
#ifndef __UNIT_H__
#define __UNIT_H__

struct Unit
{
public:
	int toAmountInBaseUnit(const int value) const;
	int covertFromBaseUnit(int value) const;	
protected:
	Unit(int factorToBase);
protected:
	const int factorToBase_m;

};

#endif

